package com.chen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.pojo.entry.Orders;
import com.chen.pojo.vo.OrderPartnerVo;
import com.chen.pojo.vo.SkuVo;

import java.time.LocalDate;
import java.util.List;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/20
 * 订单实体映射
 */
public interface OrderMapper extends BaseMapper<Orders> {
    List<SkuVo> selectAmountTop10(Integer businessId);

    Page<OrderPartnerVo> selectPartnerCollect(Page<OrderPartnerVo> page, LocalDate start, LocalDate end, String partnerName);
}
